#!/bin/bash

VERSION=`grep app.version ../application.properties`
VERSION=${VERSION:12}

tar --create                        \
    --preserve-permissions          \
    --gzip                          \
    --file ~/DART-$VERSION.tar.gz   \
    --exclude='*.iml'               \
    --exclude='*.ipr'               \
    --exclude='*.iws'               \
    --exclude='*.log'               \
    --exclude='out'                 \
    --exclude='.svn'                \
    ../../DART 

